package com.carworld.config;

import com.carworld.controller.AdviceController;
import com.carworld.controller.DividendController;
import com.carworld.controller.ExcelController;
import com.carworld.controller.MenuController;
import com.carworld.controller.MobileDeleteController;
import com.carworld.controller.MobileInfoController;
import com.carworld.controller.UserController;
import com.carworld.controller.OrderController;
import com.carworld.controller.PrintController;
import com.carworld.controller.RechargeController;
import com.carworld.controller.ReserveController;
import com.carworld.controller.StatisticController;
import com.carworld.controller.SysOfficeController;
import com.carworld.controller.TestController;
import com.carworld.controller.VIPCardController;
import com.carworld.controller.WithdrawController;
import com.jfinal.config.Routes;



public class MobileRoutes extends Routes {

	@Override
	public void config() {
		//addInterceptor(new AccessInter());

		add("/info" , MobileInfoController.class);
		add("/delete" , MobileDeleteController.class) ;
		add("/vipcard" , VIPCardController.class);// 配置会员卡的访问路径，统一进入VIPCardController中
	    add("/user",UserController.class);
		add("/order" , OrderController.class);// 配置订单的访问路径
		add("/reserve" , ReserveController.class);// 客户预约访问路径
		add("/test" , TestController.class);// 客户预约访问路径
		add("/shop" , SysOfficeController.class);
		add("/statistic" , StatisticController.class);
		add("/dividend" , DividendController.class);
		add("/withdraw" , WithdrawController.class);
		add("/excel" , ExcelController.class);
		add("/advice" , AdviceController.class);
		add("/menu" , MenuController.class);
		add("/print" , PrintController.class);
		add("/recharge" , RechargeController.class);
		
	}
}
